package com.hrs.enity.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import javafx.geometry.Pos;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 摆渡人
 * @description
 * @date 2023/1/12 23:55
 */
@Data
public class PositionVo {

    private Long id;

    private String name;

    private Long parentId;

    @ApiModelProperty("子岗位")
    @JsonProperty("children")
    private List<PositionVo> childrenPosition;

    @ApiModelProperty("同级上一个元素id")
    private Long preId;

    @ApiModelProperty("同级下一个元素id")
    private Long nextId;

    @ApiModelProperty("排序")
    private Long sort;

    @ApiModelProperty("父级岗位名称")
    private String parentName;

    @ApiModelProperty("部门档案列表列表")
    private List<AchieveVo> achieveVos;

    @ApiModelProperty("上次更新时间")
    private Date updateTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
